package appita.general;

import android.app.Activity;
import android.os.Bundle;
import android.widget.ArrayAdapter;
import android.widget.ListView;

public class Categories extends Activity {

	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.categories);

		ListView list = (ListView) findViewById(R.id.listCategories);
		
		String[] listCategories = new String[5];
		listCategories[0] = "Animals";
		listCategories[1] = "Animals";
		listCategories[2] = "Animals";
		listCategories[3] = "Animals";
		listCategories[4] = "Animals";
		
		ArrayAdapter<String> arrayAdapter = new ArrayAdapter<String>(this,android.R.layout.simple_list_item_1, listCategories);
		list.setAdapter(arrayAdapter);
	}

}
